package com.mall4j.cloud.product.service;

import com.mall4j.cloud.common.database.dto.PageDTO;
import com.mall4j.cloud.common.database.vo.PageVO;
import com.mall4j.cloud.product.dto.BrowseHistoryDTO;
import com.mall4j.cloud.product.model.BrowseHistory;
import com.mall4j.cloud.product.model.Spu;
import com.mall4j.cloud.product.model.SpuHistory;
import com.mall4j.cloud.product.vo.app.BrowseHistoryVO;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;

import java.util.List;
public interface BrowseHistoryService {
    void addBrowseHistory(Long userId, Long spuId);

    List<SpuHistory> getBrowseHistoryList(Long userId);

    void deleteHistory();

}
